package com.own.component.util.math.exception;

import com.own.base.BaseResponseCode;
import com.own.component.common.exception.BusinessException;
import com.own.component.util.math.em.MathExceptionEnum;

/**
 * MathException
 *
 * @author chenxueli
 * @date 2022-06-15 03:14:15
 */
public class MathException extends BusinessException {

    public MathException() {
        super(MathExceptionEnum.DEFAULT);
    }

    public MathException(String message) {
        super(MathExceptionEnum.DEFAULT.code(), message);
    }

    public MathException(String code, String message) {
        super(code, message);
    }

    public MathException(BaseResponseCode responseCode) {
        super(responseCode);
    }

}
